package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.User;

public interface UserMapper {

	public int deleteUserById(long id);

	public User selectUserById(long id);

	public List<User> selectUserByMap(Map<String,Object> map);

	public List<User> selectUser(User user);

	public List<User> selectAllUser();

	public int insertUser(User user);

	public int updateUser(User user);

	public int deleteUser(User user);

	public int updateUserByMap(Map<String,Object> map);

	public int deleteUserByMap(Map<String,Object> map);
	public int getAllUserCounts();
	public int getUserCounts(User user);
	public int getUserCountsByMap(Map<String,Object> map);
}
